package com.cjr.ddp.dao;

import com.cjr.ddp.entity.DictTarget;
import com.cjr.ddp.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cjr
 * @date Created in 2020-03-05 20:38
 * @description
 * @modified By
 */
@Mapper
public interface TarDao {


    //新增指标
    int insertTar(DictTarget dictTarget);

    //根据指标ID删除指标
    int deleteTarByTarId(int id);

    //修改指标
    int updateTarByTarID(DictTarget dictTarget);

    //查询所有指标
    List<DictTarget> selectTarList();

    //根据指标名查询指标
    List<DictTarget> selectTarByTarName(DictTarget dictTarget);



}
